package com.nf.ch03.test04.demo01;

/**
 * @author lwj
 * @date 2025-03-03
 * @vesion 1.0.0
 */
public class MainTest {
    public static void main(String[] args) {
        JavaTeacher zs = new JavaTeacher("张三","NF");
        DotNetTeacher ls = new DotNetTeacher("李四", "NF");

        JiaoWuTeacher wang = new JiaoWuTeacher("李老师","NF");

        wang.anPai(zs);
        wang.anPai(ls);
    }
}
